﻿using System;
using System.CJL.Domain;
using System.CJL.Infrstructre.Interface;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.CJL.Infrstructre.Impl
{
	public class FinishedProductRepository :MESRepository<FinishedProduct>,IFinishedProductRepositry
	{
        public FinishedProductRepository(MESDbContext db) : base(db)
        {
            
        }
		public async Task<int> Addasync(FinishedProduct entity)
		{
			return await base.Addasync(entity);
		}

		public async Task<int> DeleteAsync(int id)
		{
			return await base.DeleteAsync(id);
		}

		public async Task<List<FinishedProduct>> GetAll()
		{
			return await base.GetAll();
		}

		public async Task<FinishedProduct> GetMondel(int id)
		{
			return await base.GetMondel(id);
		}

		public async Task<int> UpdateAsync(FinishedProduct entity)
		{
			return await base.UpdateAsync(entity);
		}
	}
}
